package com.demo.service;

import com.demo.dto.PartnerCount;
import com.demo.entity.Role;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface RoleService {
    PageInfo<Role> list(int pageIndex, int pageSize);

    int Insert(Role role);

    int Delete(String RoleId);

    List<Role> list();

    String depId(String userId);

    PageInfo<PartnerCount> partnerCount(String depId, String beginTime, String endTime,int pageIndex, int pageSize);
}
